package jpademo.controller;

import jpademo.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/books")
public class Controller {
    @Autowired
    private BookService bookService;        
    @RequestMapping(value = "/many2manyDemo")	
	public void many2manyDemo() {
    	bookService.many2manyDemo();
    }
}






